package cn.yh.shop.admin.model;
/** 
*@Description:TODO
* @author  "许荣斐"
* @time:2016年12月20日 上午10:36:19
* @version 1.0 
*/
public class RoleMenu {
	
	/**
	 * @Description: id 
	 */
	private  int id;
	/**
	 * @Description: roleId :角色id
	 */
	private int roleId;
	/**
	 * @Description: menuId : 菜单id
	 */
	private InstantiationError menuId;
	
	/**
	 * @Description:无参构造方法
	 */
	public RoleMenu() {
	super();
	}

	
	/**
	 * @Description:有参构造方法
	 */
	public RoleMenu(int id, int roleId, InstantiationError menuId) {
		super();
		this.id = id;
		this.roleId = roleId;
		this.menuId = menuId;
	}


	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the roleId
	 */
	public int getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId the roleId to set
	 */
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	/**
	 * @return the menuId
	 */
	public InstantiationError getMenuId() {
		return menuId;
	}

	/**
	 * @param menuId the menuId to set
	 */
	public void setMenuId(InstantiationError menuId) {
		this.menuId = menuId;
	}
	
	
	@Override
	public String toString() {
		return "role&menu:";
	}

}
